#ifndef PLAYER_H_INCLUDED
#define PLAYER_H_INCLUDED

#include <string>

namespace Oribi
{
    class Player
    {
    public:
        Player(): ctrl(0){}
       ~Player();

        EntityManager &getEntityManager();

        Controller* getController() const;
        void setController(Controller*);

        std::string name;
        char color[3];

        void update(Game*);
        void drawEverything(GraphicContext& gr);
    protected:
        Controller *ctrl;
        EntityManager entityManager;
    };
}

#endif // PLAYER_H_INCLUDED
